package com.zzhou.linkinfo.clock.entity;

import java.util.List;

/**
 * 年级对象
 */
public class Grade {
    public static final int GP_TYPE_CLASS = 0;
    public static final int GP_TYPE_ORG = 1;

    private long id;
    private String name;
    private boolean isChecked;
    private int type;//分组类型，0：学校，1：群组
    private List<Person> people;

    public void setId(long id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setChecked(boolean checked) {
        isChecked = checked;
    }

    public void setType(int type) {
        this.type = type;
    }

    public void setPeople(List<Person> people) {
        this.people = people;
    }

    public long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public boolean isChecked() {
        return isChecked;
    }

    public int getType() {
        return type;
    }

    public List<Person> getPeople() {
        return people;
    }
}
